home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / COffScreenPicture 2.0 / COffScreenPicture.h < prev    next >
Encoding:
Text File  |  1997-07-21  |  801 b   |  35 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. // COffScreenPicture.h
  3. // 
  4. // ©1997 Maxym Runov. All rights reserved.
  5. //
  6. // You are free to use this code in any project, 
  7. // but the copyright remains with me.
  8. // Any questions and notes are welcome.
  9. //
  10. // E-mail: max@sunbay.crimea.ua
  11. // ===========================================================================
  12. // Version 2.0
  13.  
  14.  
  15. #pragma once
  16. #include <LView.h>
  17. #include <UGWorld.h>
  18.  
  19. class COffScreenPicture : public LView {
  20.     public:
  21.         enum { class_ID = 'OPic' };
  22.         COffScreenPicture(LStream *inStream);
  23.         ~COffScreenPicture(void);
  24.         
  25.         virtual ResIDT        GetPictureID(void);
  26.         virtual void        SetPictureID(ResIDT inPictureID);
  27.         
  28.     protected:
  29.         void        DrawSelf(void);
  30.         
  31.     private:
  32.         ResIDT            mPICTid;
  33.         LGWorld            *mGWorld;
  34. };
  35.